This function gets the identifier of the HDF GR palette attached to the raster image identified by the parameter ri_id.
Result = HDF_GR_GETLUTID(ri_id, pal_index)
Returns the palette identifier if successful or FAIL (-1) otherwise.
Raster image identifier returned by HDF_GR_CREATE or HDF_GR_SELECT.
Index of the palette. Currently, only one palette can be assigned to a raster image, which means that pal_index should always be set to 0.
None
5.2 |
Introduced |